﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin_cms/admin_master.master"
    AutoEventWireup="true" CodeFile="admin_manager_photoalbum.aspx.cs" Inherits="hydevmanager_admin_manager_photoalbum" %>
<%@ Register Namespace="FredCK.FCKeditorV2"  Assembly="FredCK.FCKeditorV2" TagPrefix="FCK"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:UpdatePanel runat="server" ID="udp1">
        <ContentTemplate>
            Viết lời tựa Album:
              <FCK:FCKeditor runat="server" ID="fcknew" Width="910px" Height="600px"
                        BasePath="~/fckeditor/">
                        
                        </FCK:FCKeditor>
            <br />
            Thêm ảnh vào Album:
            <input type="file" id="fileupload" runat="server" />
            <br />
             
            <asp:ImageButton ID="btninsert" runat="server" OnClick="btninsert_click" Width="45px" ImageUrl="~/admin_cms/style/img/document_save.ico"  /> Thêm mới
        </ContentTemplate>
    </asp:UpdatePanel>

    <script type="text/javascript">
        $(window).load(
    function() {
        $("#<%=fileupload.ClientID %>").fileUpload({
            'uploader': 'uploadify/scripts/uploader.swf',
            'cancelImg': 'uploadify/images/cancel.png',
            'buttonText': 'Browse Files',
            'script': 'uploadify/Upload.ashx',
            'fileDesc': 'Image Files',
            'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
            'multi': true,
            'auto': true
        });
    }
    );
    </script>

</asp:Content>
